﻿<%@ Page Language="C#" MasterPageFile="~/masterpageuser.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" Title="Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderMain" Runat="Server">    
<div class="div-conten">
<div class="conten-header">Login to Cozy</div>
<div class="conten-underline"></div>
<div class="conten">
    <table cellspacing="1" class="tbldangnhap">
        <tr>
            <td colspan=2 align="center">
                <asp:Label ID="lblthongbao" runat="server" 
                    style="font-style: italic; color: #FF6699"></asp:Label>
            </td>           
        </tr>
        <tr>
            <td class="tdthongtin">
                Login name:</td>
            <td class="tdnoidung">
                <asp:TextBox ID="txtTenDN" runat="server" Width="160px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtTenDN" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="tdthongtin">
                Password:</td>
            <td class="tdnoidung">
                <asp:TextBox ID="txtMatKhau" runat="server" TextMode="Password" Width="160px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtMatKhau" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="tdthongtin">
                &nbsp;</td>
            <td class="tdnoidung">
                <asp:Button ID="btnDangNhap" runat="server" Text="Login" Width="80px" 
                    onclick="btnDangNhap_Click" />
                <asp:Button ID="btnTuChoi" runat="server" CausesValidation="False" 
                    Text="Cancel" onclick="btnTuChoi_Click" Width="80px" />
            </td>
        </tr>
        <tr>
            <td class="tdthongtin">
                &nbsp;</td>
            <td class="tdnoidung">
                <asp:HyperLink ID="hypQuenMK" runat="server" NavigateUrl="~/ResetPassword.aspx">Forgot password?</asp:HyperLink>
            </td>
        </tr>
        <tr>
            <td class="tdthongtin">
                &nbsp;</td>
            <td class="tdnoidung">
                <asp:HyperLink ID="hypDangKI" runat="server" NavigateUrl="~/Register.aspx">Register!</asp:HyperLink></td>
        </tr>
    </table>
</div>
</div>
</asp:Content>

